package com.apex.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author George
 * @since 2023-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 产品编号
     */
    @TableId(value = "Product_Id", type = IdType.AUTO)
    private Long productId;

    /**
     * 店铺名称
     */
    @TableField("Shop_name")
    private String shopName;

    /**
     * 产品图片
     */
    @TableField("Product_picture")
    private String productPicture;

    /**
     * 产品品牌
     */
    @TableField("Product_brand")
    private String productBrand;

    /**
     * 产品名称
     */
    @TableField("Product_name")
    private String productName;

    /**
     * 产品类型ID
     */
    @TableField("Product_type_id")
    private Long productTypeId;

    /**
     * 产品单价
     */
    @TableField("Product_Price")
    private Double productPrice;

    /**
     * 库存
     */
    @TableField("Inventory")
    private Integer inventory;

    /**
     * 产品上线状态
     */
    @TableField("Product_statu")
    private Integer productStatu;

    /**
     * 产品推荐状态
     */
    @TableField("Product_recommend")
    private Integer productRecommend;

    /**
     * 创建时间
     */
    @TableField("Gmt_creation")
    private Date gmtCreation;

    /**
     * 更新时间
     */
    @TableField("Gmt_modified")
    private Date gmtModified;

    /**
     * 逻辑删除
     */
    @TableField("Deleted")
    private Integer deleted;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;


}
